package dfbz.demo.homework2;

public class Teacher extends Student{
    private String tName;

    public Teacher(String tName) {
        this.tName = tName;
    }

    public Teacher() {
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }
    public void dianming(Student student){
        student.setChuqin(isChuqin());
    }
}
